export type Cuisine =
  | '川菜'
  | '湘菜'
  | '粤菜'
  | '日料'
  | '韩料'
  | '西餐'
  | '快餐'
  | '火锅'
  | '麻辣烫'
  | '轻食'
  | '中餐厅'
  | '西餐厅'
  | '快餐厅'
  | '火锅店'
  | '日本料理'
  | '韩国料理'
  | '茶艺馆'
  | '冷饮店'
  | '咖啡厅'
  | '甜品店'
  | '面包店'
  | '烧烤店'
  | '小吃店'
  | '饺子馆'
  | '面馆'
  | '粥店'
  | '其他';

export type DataSource = 'nearby' | 'delivery';

export interface Restaurant {
  id: string;
  name: string;
  imageUrl?: string; // 现在使用颜色背景，图片URL变为可选
  cuisines: Cuisine[];
  source: DataSource;
  avgPrice?: number;
  rating?: number;
  etaMinutes?: number;
  distance?: number; // 距离（米）
  mapUrl?: string;
  detailUrl?: string;
}
